﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Boss.Master" AutoEventWireup="true" CodeBehind="UserModified.aspx.cs" Inherits="TimeWork.webmaster.manager.UserModified" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="UserModifiedContent" ContentPlaceHolderID="MainContent" runat="server">
<div class="page-title ui-widget-content ui-corner-all" style="background:#fff;">
	<h1 style="text-align: center;background: #6D91B9;padding: 8px;border-radius: 3px;">
        <b style="text-shadow: 0 0 #fff; color: #fff;">Sửa đổi thông tin</b>
    </h1>

	<div class="other">
        
        <form id="FormUserModified" runat="server" style=" padding: 11px 0;">
            <asp:Panel ID="pnlChangeProfile" runat="server">  
            <!-- AjaxToolkit -->
            <asp:ToolkitScriptManager ID="ToolkitScriptManager" runat="server">
            </asp:ToolkitScriptManager>

            <!-- Notice update status -->
            <asp:Panel ID="pnlNotice" runat="server" style="padding-left:28px;">
                <asp:Image ID="imgNotice" runat="server" style="padding-right: 5px;"/><asp:Label ID="lblNotice" runat="server"></asp:Label>
            </asp:Panel>

            <!-- Edit info -->
            <table  style="padding:20px; border-spacing:10px;">
                <tr>
                    <td colspan="2"><i>Các trường có dấu * là bắt buộc</i></td>
                </tr>
                <tr>
                    <td>Email:</td>
                    <td><asp:Label ID="lblEmail" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td>Họ tên*:</td>
                    <td><asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator
                            ID="vName" runat="server" ErrorMessage="*" ForeColor="Maroon" ControlToValidate="txtName"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td>Phòng ban*:</td>
                    <td>
                        <asp:DropDownList ID="ddlResultUnit" runat="server" Width="200px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>Ngày sinh:</td>
                    <td>
                        <asp:TextBox ID="txtBirthday" runat="server" Width="85px"></asp:TextBox>&nbsp;<asp:Image ID="imgDate"
                            runat="server" ImageUrl="~/resources/img/icons/calendar.png" />&nbsp;
                        <asp:CalendarExtender ID="CalendarExtender" runat="server" 
                            PopupPosition="BottomLeft" PopupButtonID="imgDate" 
                            TargetControlID="txtBirthday" Format="dd/MM/yyyy">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <td>Giới tính:</td>
                    <td>
                        <asp:DropDownList ID="ddlGender" runat="server">
                            <asp:ListItem Text="Nam" Value="True"></asp:ListItem>
                            <asp:ListItem Text="Nữ" Value="False"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>Số đt:</td>
                    <td><asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Địa chỉ hiện tại:</td>
                    <td><asp:TextBox ID="txtAddress" runat="server" Width="198px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Chức vụ:</td>
                    <td><asp:TextBox ID="txtPosition" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Ngạch/Bậc:</td>
                    <td><asp:TextBox ID="txtScale" runat="server" Width="100px"></asp:TextBox> / 
                        <asp:TextBox ID="txtLevel" runat="server" Width="50px"></asp:TextBox>
                        <asp:RangeValidator ID="vLevel" runat="server" ErrorMessage="*" 
                            ControlToValidate="txtLevel" MinimumValue="0" MaximumValue="100" 
                            ForeColor="Maroon"></asp:RangeValidator></td>
                </tr>
                <tr>
                    <td>Quyền hạn*:</td>
                    <td>
                        <asp:DropDownList ID="ddlPermission" runat="server" Width="200px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align:right;">
                        <asp:Button ID="btnResetPass" runat="server" Text="Reset mật khẩu" 
                            CssClass="mybutton color-yellow" onclick="btnResetPass_Click" OnClientClick="return confirm('Bạn chắc chắn muốn reset mật khẩu người dùng này?');"/>&nbsp;<asp:Button 
                            ID="btnUpdate" runat="server" Text="Cập nhật" CssClass="mybutton" 
                            onclick="btnUpdate_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button 
                            ID="btnDelte" runat="server" Text="Xóa" CssClass="mybutton color-red" 
                            onclick="btnDelte_Click" />
                    </td>
                </tr>
            </table>
            </asp:Panel>
            <asp:Label ID="lblError" runat="server" CssClass="validate"></asp:Label>
        </form>
        <a href="UserManager.aspx" style=" font-weight: bold; color: #e17009; padding-left: 28px;"><< Quay lại</a>
    </div>

                
</div>
</asp:Content>
